package at.nebbl.openscotty;

/**
 *
 * @author alex.nebel
 */
public class Route {

    private String startStation;
    private String endStation;
    private String date;
    private String changes;
    private String time;
    private String duration;

    public Route(String startStation, String endStation, String date, String time, String duration, String changes) {
        this.startStation = startStation;
        this.endStation = endStation;
        this.date = date;
        this.time = time;
        this.duration = duration;
        this.changes = changes;
    }

    public String getEndStation() {
        return endStation;
    }

    public String getStartStation() {
        return startStation;
    }

    public String getChanges() {
        return changes;
    }

    public String getDate() {
        return date;
    }

    public String getDuration() {
        return duration;
    }

    public String getTime() {
        return time;
    }

    public String toString(){
        return "StartStation: "+startStation+"\nEndStation: "+endStation+"\nDate: "+date+"\nChanges: "+changes+"\nTime: "+time+"\nDuration: "+duration+"\n\n";
    }
}
